{include file="./headStart.tpl"}
{literal}
<script type="text/javascript">
$(document).ready(function() {
});
</script>
{/literal}
{include file="./headEnd.tpl"}
<form name="form1" action="{$smarty.server.PHP_SELF}" id="form" method="post">
<table border='0' cellpadding='1' cellspacing='2' align='center'>
<tr>
  <td class="table1" align="center" colspan="7">To Date : 
    {html_select_date time="$toDate" prefix="toDate" start_year="-3" end_year="+1" month_format="%m" field_order="DMY" day_value_format="%02d"}
    <input type="submit" value="SUBMIT" name="submitBtn" />
    <br />
    <font style="font-size: 16px"><b>Re - Order Data </b></font>
  </td>
</tr>
<tr>
  <td class="table1" align="center">S.R.No</td>
  <td class="table1" align="center">Product</td>
  <td class="table1" align="center">Category</td>
  <td class="table1" align="center">Sub Category</td>     
  <td class="table1" align="center">Stock</td>
  <td class="table1" align="center">Max Level</td>
  <td class="table1" align="center">Min Level</td>
  
</tr>
{section name="sec" loop=$productArray}
<tr>
  <td class="table3" align="center">{$smarty.section.sec.rownum}</td>
  <td class="table3" align="left">{$productArray[sec].itemName}</td>
  <td class="table3" align="left">{$productArray[sec].categoryName}</td>
  <td class="table3" align="left">{$productArray[sec].subCategoryName}</td>
  <td class="table3" align="center">{$productArray[sec].currentStock}</td>
  <td class="table3" align="center">{$productArray[sec].maxLevel}</td>
  <td class="table3" align="center">{$productArray[sec].minLevel}</td>
<tr>
{/section}
</table>
</form>

{include file="footer.tpl"}